package com.tzz.dao;

import com.tzz.entity.PreActivity;
import com.tzz.entity.Product;
import com.tzz.vo.StationStop;

import java.sql.Date;
import java.util.List;

public interface PreActivityDao {
    int insertPreActivity(PreActivity preActivity);
    int insertActivityStation(PreActivity preActivity);
    int insertActivitySku(PreActivity preActivity);
    List<PreActivity> getActivityByIdAndFullDate(String presaleId, Date deliveryStartDate, Date deliveryEndDate);
    PreActivity getActivityById(String presaleId);
    List<Integer> getSkuIdsById(String presaleId);
    List<Integer> getStationIdsById(String presaleId);
    int updateStationActivity(String presaleId,List<Integer> stationIds);
    List<Integer> getStationIdsByPreId(String presaleId);
    List<Integer> getSkuIdsByPreId(String presaleId);
    List<PreActivity> getAllActivity(String presaleId);
    List<StationStop> getStationStop(String activityId);
    List<Product> getProductsBySkuIds(List skuIds);
}
